package com.dgut.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@TableName("order_grabbing")
@Data
/**
 * 抢单
 */
public class OrderGrabbing {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 法律求助ID
     */
    private Integer legalRecourseId;

    /**
     * 服务商ID
     */
    private Integer serviceId;

    /**
     * 自荐描述
     */
    private String selfRecommendationDescription;

    /**
     * 金额
     */
    private Double money;

    /**
     * 抢单时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date orderGrabbingTime;
}
